package com.oocl.reservedparkingsystembackend.repository;

import com.oocl.reservedparkingsystembackend.model.entity.ParkingSpace;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ParkingSpaceRepository extends JpaRepository<ParkingSpace, String> {
    List<ParkingSpace> getAllByParkingLotId(String id);
}
